package com.tjetc.service;

import com.aliyuncs.exceptions.ClientException;
import com.tjetc.domain.CheckRecord;
import com.tjetc.vo.Result;

import com.tjetc.vo.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface CheckRecordService{


    int deleteByPrimaryKey(Integer id);

    int insert(CheckRecord record);

    int insertSelective(CheckRecord record);

    CheckRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CheckRecord record);

    int updateByPrimaryKey(CheckRecord record);

    Result addJiancha(CheckRecord checkRecord);
    Result getPNmaeDNameDate(String patientName, String doctorName, String startTime, String endTime, Integer pageNum, Integer pageSize);

    Result insertOne(CheckRecord checkRecord, MultipartFile file) throws ClientException, IOException, ClientException;

    Result updateInspect(CheckRecord checkRecord, MultipartFile file) throws IOException, ClientException;
}
